/*
 * @Author: gy
 * @Date: 2020-06-30 14:48:26
 * @LastEditors: gy
 * @LastEditTime: 2020-07-01 13:40:28
 */ 
export const identityServerBase = 'http://61.152.218.10:9010';


// export const vueBase = 'http://61.152.218.10:8080';
export const vueBase = 'http://localhost:8080'

// 参考文档 https://github.com/IdentityModel/oidc-client-js/wiki
export const openIdConnectSettings = {
    authority: `${identityServerBase}`,
    client_id: `vue-client`,
    redirect_uri: `${vueBase}/signin-oidc`,
    post_logout_redirect_uri: `${vueBase}`,
    silent_redirect_uri: `${vueBase}/redirect-silentrenew`,
    scope: 'openid profile api1',
    response_type: `id_token token`,
    automaticSilentRenew: true,
};